@import url(https://fonts.googleapis.com/css?family=Lato:400,700);
*, *:before, *:after {
  box-sizing: border-box;
}

body {
    /* background-color: #262626; */
    font: 14px/20px "Lato", Arial, sans-serif;
    padding: 40px 0;
    color: white;
}

/* 卡片部分 */
.card {
  position: relative;
  height: 350px;
  box-shadow: 5px 5px 10px #bebebe,-5px -5px 10px #ffffff;
  transition: 0.2s ease-in-out;
  padding: 10px;
  max-width: 260px;
  /* box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06); */
  background-color: rgb(255, 255, 255);
  font-family: sans-serif;
}

.content {
  margin-top: 1rem;
}

.card .header {
  height: 200px;
  margin-top: -30px;
  background: rgb(160, 160, 160);
}
.card .info {
  height: 195px;
  margin-top: -130px;
}
.card .info a{
  text-decoration: none;
}
.image {
  opacity:0.6; 
  filter: blur(5px);
  width: 100%;
  height: 200px;
  border-radius: 4px;
  /* background-color: rgb(205, 235, 255); */
  padding: 9px;
  background: url('../assets/chat_beijing.png') no-repeat;
  background-size: cover;
  margin-top: -50px;
}

.date {
  display: flex;
  font-size: 0.75rem;
  line-height: 1rem;
  align-items: center;
  margin: 2px;
}

.title {
  display: block;
  font-size: 1.25rem;
  line-height: 1.35rem;
  font-weight: 600;
  padding-bottom: 5px;
  padding-top: 14px;
  color: #b1b6f1;
}

.description {
  color: #434651;
  font-size: 12px;
  line-height: 1.375;
  margin-top: -40px;
}

.card:hover {
  box-shadow: 0px 10px 20px rgba(0,0,0,0.1);
}


.card .tag {
  position: absolute;
  overflow: hidden;
  width: 150px;
  height: 150px;
  top: -10px;
  left: -10px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.card .tag::before {
  content: '已生成';
  position: absolute;
  width: 150%;
  height: 40px;
  background-image: linear-gradient(45deg, #ff6547 0%, #ffb144  51%, #ff7053  100%);
  transform: rotate(-45deg) translateY(-20px);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  box-shadow: 0 5px 10px rgba(0,0,0,0.23);
  z-index: 999;
}

.card .tag::after {
  content: '';
  position: absolute;
  width: 10px;
  bottom: 0;
  left: 0;
  height: 10px;
  z-index: 1;
  box-shadow: 140px -140px #cc3f47;
  background-image: linear-gradient(45deg, #FF512F 0%, #F09819  51%, #FF512F  100%);
}

/* 聊天框 */
.chat {
  width: 100%;
  height: 100%;
  float: left;
  background: #F2F5F8;
  border-top-right-radius: 5px;
  border-bottom-right-radius: 5px;
  color: #434651;
}
.chat .chat-history {
  padding: 20px 30px 20px;
  border-bottom: 2px solid white;
  overflow-y: scroll;
  white-space: pre-wrap;
  height: 500px;
}
::-webkit-scrollbar {
  width: 0 !important;
}
::-webkit-scrollbar {
width: 0 !important;height: 0;
}
.chat .chat-history .message-data {
  margin-bottom: -10px;
}
.chat .chat-history .message-data-time {
  color: #a8aab1;
  padding-left: 6px;
}
.chat .chat-history .only-message-data{
  margin-bottom: 30px;
}
.chat .chat-history .only-message{
  background: #b1b6f1;
  color: white;
  padding: 20px 20px;
  /* height: 90px; */
  line-height: 45px;
  font-size: 16px;
  border-radius: 7px;
  margin-bottom: 30px;
  width: 90%;
  position: relative;
}
.chat .chat-history .message {
  color: white;
  padding: 0 20px;
  height: 100%;
  line-height: 26px;
  font-size: 16px;
  border-radius: 7px;
  /* margin-bottom: 30px; */
  width: 90%;
  position: relative;
}
.chat .chat-history .message:after {
  bottom: 100%;
  left: 7%;
  border: solid transparent;
  content: " ";
  height: 0;
  width: 0;
  position: absolute;
  pointer-events: none;
  border-bottom-color: #b1b6f1;
  border-width: 10px;
  margin-left: -10px;
}
.chat .chat-history .only-message:after {
  bottom: 100%;
  left: 7%;
  border: solid transparent;
  content: " ";
  height: 0;
  width: 0;
  position: absolute;
  pointer-events: none;
  border-bottom-color: #b1b6f1;
  border-width: 10px;
  margin-left: -10px;
}
.chat .chat-history .my-message{
  background: #b1b6f1;
}

.chat .chat-history .other-message {
  background: #94C2ED;
}
.chat .chat-history .other-message:after {
  border-bottom-color: #94C2ED;
  left: 93%;
}
.chat .chat-message {
  /* position: fixed;
  bottom: 0; */
  width: 100%;
  padding: 30px;
}
.chat .chat-message input {
  width: 100%;
  height: 50px;
  border: none;
  padding: 10px 20px;
  font: 14px/22px "Lato", Arial, sans-serif;
  margin-bottom: 10px;
  border-radius: 5px;
  resize: none;
}
.chat .chat-message .fa-file-o, .chat .chat-message .fa-file-image-o {
  font-size: 16px;
  color: gray;
  cursor: pointer;
}
.chat .chat-message button {
  float: right;
  color: #94C2ED;
  font-size: 16px;
  text-transform: uppercase;
  border: none;
  cursor: pointer;
  font-weight: bold;
  background: #F2F5F8;
}
.chat .chat-message button:hover {
  color: #75b1e8;
}

.online, .offline, .me {
  margin-right: 3px;
  font-size: 10px;
}

.online {
  color: #b1b6f1;
}

.offline {
  color: #E38968;
}

.me {
  color: #94C2ED;
}

.align-left {
  text-align: left;
}

.align-right {
  text-align: right;
}

.float-right {
  float: right;
}

.clearfix:after {
  visibility:hidden;
  display: block;
  font-size: 0;
  content: " ";
  clear: both;
  height: 0;
}
.clearfix img{
    border-radius: 52px; 
	overflow: hidden;
}